package cn.kimmking.rpcdemo;

import cn.kimmking.kkrpc.core.annotation.KKProvider;
import org.springframework.stereotype.Component;

/**
 * Description for this class.
 *
 * @Author : kimmking(kimmking@apache.org)
 * @create 2024/4/1 16:27
 */


@Component
@KKProvider
public class OrderServiceImpl implements OrderService{
    @Override
    public TripOrder query(int orderId) {
        return new TripOrder(orderId, 10.0f, "机票CA1101");
    }
}
